package pl.edu.mimuw.irs.core.morph.maxmatch;

import java.util.Set;

import pl.edu.mimuw.irs.core.util.graph.Edge;

/**
 * @author Jakub Rauch
 * Created on: 2009-05-19
 */
public class BipartiteGraph {

	// *** Attributes
	private Set<Vertex> partition1;
	private Set<Vertex> partition2;
	private Set<Edge> edges;
	// Getters and setters
	public Set<Vertex> getPartition1() {
		return partition1;
	}
	public void setPartition1(Set<Vertex> partition1) {
		this.partition1 = partition1;
	}
	public Set<Vertex> getPartition2() {
		return partition2;
	}
	public void setPartition2(Set<Vertex> partition2) {
		this.partition2 = partition2;
	}
	public Set<Edge> getEdges() {
		return edges;
	}
	public void setEdges(Set<Edge> edges) {
		this.edges = edges;
	}
	
	// *** Constructors
	
	public BipartiteGraph(Set<Vertex> vertexes1, Set<Vertex> vertexes2, Set<Edge> edges) {
		setPartition1(vertexes1);
		setPartition2(vertexes2);
		setEdges(edges);
	}
	
	// *** Methods
	
	
}
